package 
{
    import flash.display.Bitmap;
	import flash.display.Sprite;
	import flash.events.Event;
	
	/**
	 * ...
	 * @author elvis
	 */
	public class Main extends Sprite 
	{
        [Embed(source="../lib/logo.JPG")]
		public var Logo : Class;
        
		public function Main():void 
		{
			if (stage) init();
			else addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(e:Event = null):void 
		{
			removeEventListener(Event.ADDED_TO_STAGE, init);
			// entry point
            var logo : Bitmap = new Logo();
            addChild(logo);
		}
		
	}
	
}